home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
LIBRARY
/
CMPLTPAS
/
RELAYON.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1988-07-14
|
1KB
|
25 lines
{->>>>RelayOn<<<<----------------------------------------------}
{ }
{ Filename: RELAYON.SRC -- Last modified 7/14/88 }
{ }
{ This one quite simply energizes the cassette relay, which }
{ closes the contacts across pins 1 and 3 of the cassette DIN }
{ connector on the original PC. (XT's and AT's do not have }
{ the cassette relay.) The specs allow for 1 amp through the }
{ relay, but having inspected the relay I would play it safe }
{ and attempt no more than half an amp. }
{ }
{ From: COMPLETE TURBO PASCAL 5.0 by Jeff Duntemann }
{ Scott, Foresman & Co., Inc. 1988 ISBN 0-673-38355-5 }
{--------------------------------------------------------------}
PROCEDURE RelayOn;
VAR
Regs : Registers;
BEGIN
Regs.AH := 0; { AH = 0 -- Service that turns motor on }
Intr($15,Regs)
END;